<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>添加员工</title>
    <link rel="stylesheet" href="/vendor/simple-line-icons/css/simple-line-icons.css">
    <link rel="stylesheet" href="/vendor/font-awesome/css/fontawesome-all.min.css">
    <link rel="stylesheet" href="/css/styles.css">
</head>
<body>
<div class="content">
    <div class="container-fluid">
        <div class="row">
            <div class="col-md-10">
                <div class="card">
                    <div class="card-header bg-light">
                        添加项目信息
                    </div>
                    <form th:action="@{/ad}" method="post">
                        <div class="card-body">
                            <div class="row">
                                <div class="col-md-12">
                                    <input type="hidden" class="form-control" id="staffId" name="staffId"
                                           th:value="${sta.staffId}" readOnly="true">
                                    <input type="hidden" class="form-control" id="projectId" name="projectId"
                                           th:value="${sta.projectId}" readOnly="true">
                                    <input type="hidden" class="form-control" id="projectName" name="projectName"
                                           th:value="${sta.projectName}" readOnly="true">
                                    <input type="hidden" class="form-control" id="completion" name="completion"
                                           th:value="${sta.completion}" readOnly="true">
                                    <input type="hidden" class="form-control" id="absence" name="absence"
                                           th:value="${sta.absence}" readOnly="true">
                                    <input type="hidden" class="form-control" id="GPA" name="GPA" th:value="${sta.GPA}"
                                           readOnly="true">
                                    <input type="hidden" class="form-control" id="proStartDate" name="proStartDate"
                                           th:value="${#dates.format(sta.proStartDate,'yyyy-MM-dd')}" readOnly="true">
                                    <input type="hidden" class="form-control" id="proEndDate" name="proEndDate"
                                           th:value="${#dates.format(sta.proEndDate,'yyyy-MM-dd')}" readOnly="true">
                                    <div class="form-group">
                                        <label style="font-size:30px;">修改意见</label>
                                        <textarea class="form-control" rows="12" id="advice" name="advice"></textarea>
                                    </div>
                                    <div class="card-footer bg-light text-right">
                                        <button type="submit" class="btn btn-primary">确定</button>
                                    </div>
                                </div>

                            </div>


                        </div>

                    </form>
                    <div class="card-footer bg-light text-right">
                        <a href="/manager/staff_pro">
                            <button type="submit" class="btn btn-outline-danger">取消</button>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="/vendor/jquery/jquery.min.js"></script>
<script src="/vendor/popper.js/popper.min.js"></script>
<script src="/vendor/bootstrap/js/bootstrap.min.js"></script>
<script src="/vendor/chart.js/chart.min.js"></script>

</body>
</html>
